﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllUser
    {
        #region[Get-Data]
        public DataTable GetUser(string keywords)
        {
            return DalUser.GetUser(keywords);
        }
        public DataTable GetUserEdit(int id)
        {
            return DalUser.GetUserEdit(id);
        }
        public DataTable GetUserFillter(int GroupUser)
        {
            return DalUser.GetUserFillter(GroupUser);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtUser obj)
        {
            return DalUser.Insert(obj);
        }
        public static bool Update(EtUser obj)
        {
            return DalUser.Update(obj);
        }
        public static bool UpdateLastLogin(EtUser obj)
        {
            return DalUser.UpdateLastLogin(obj);
        }
        public static bool Delete(EtUser obj)
        {
            return DalUser.Delete(obj);
        }
        public static bool ChangePass(EtUser obj)
        {
            return DalUser.ChangePass(obj);
        }
        #endregion
    }
}